package com.yidu.logisticssystem.entity.vo;

import java.io.Serializable;
import java.util.List;

/**
 * <p>@Description: 权限树形结构结果类</p>
 * <p>@author Mr.wang</p>
 * <p>@Date: 2021/3/13</p>
 * <p>@Time: 13:14</p>
 */
public class TreeResult implements Serializable {
    private String name;//页面显示的名称

    private String value;//后台对应的value

    private boolean disabled;//true代表不可修改

    private boolean selected;//默认选中

    List<TreeResult> children;//下级子节点

    private String postName;//角色名字

    private Integer postId;//角色id

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public List<TreeResult> getChildren() {
        return children;
    }

    public void setChildren(List<TreeResult> children) {
        this.children = children;
    }
}
